package com.inews.business.entity;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;

/**
 * TblBaseParam entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name="tbl_base_param")
@Cache(usage = CacheConcurrencyStrategy.READ_WRITE)
public class TblBaseParam implements java.io.Serializable {

	// Fields
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	private Long id;
	private String type;
	private String code;
	private String display1;
	private String display2;
	private String status;
	private String reserved1;
	private String reserved2;

	// Constructors

	/** default constructor */
	public TblBaseParam() {
	}

	/** minimal constructor */
	public TblBaseParam(Long id) {
		this.id = id;
	}

	/** full constructor */
	public TblBaseParam(Long id, String type, String code, String display1,
			String display2, String status, String reserved1, String reserved2) {
		this.id = id;
		this.type = type;
		this.code = code;
		this.display1 = display1;
		this.display2 = display2;
		this.status = status;
		this.reserved1 = reserved1;
		this.reserved2 = reserved2;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getDisplay1() {
		return display1;
	}

	public void setDisplay1(String display1) {
		this.display1 = display1;
	}

	public String getDisplay2() {
		return display2;
	}

	public void setDisplay2(String display2) {
		this.display2 = display2;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getReserved1() {
		return reserved1;
	}

	public void setReserved1(String reserved1) {
		this.reserved1 = reserved1;
	}

	public String getReserved2() {
		return reserved2;
	}

	public void setReserved2(String reserved2) {
		this.reserved2 = reserved2;
	}

}